# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class ProductAbility(object):

    def __init__(self, abilityId, abilityName, abilityType, customized, createdTime, abilityDescription=None, accessMode=None, abilityDataType=None, abilityDataSpec=None):
        """
        :param abilityId:  功能唯一标识
        :param abilityName:  名称
        :param abilityType:  类型,0:属性,1:事件,2:服务
        :param abilityDescription: (Optional) 描述
        :param accessMode: (Optional) 读写性,read_only:只读,read_write:读写
        :param abilityDataType: (Optional) 数据类型
        :param abilityDataSpec: (Optional) 数据定义
        :param customized:  是否为自定义功能,false:否,true:是
        :param createdTime:  创建时间,时间为东八区(UTC/GMT+08:00)
        """

        self.abilityId = abilityId
        self.abilityName = abilityName
        self.abilityType = abilityType
        self.abilityDescription = abilityDescription
        self.accessMode = accessMode
        self.abilityDataType = abilityDataType
        self.abilityDataSpec = abilityDataSpec
        self.customized = customized
        self.createdTime = createdTime
